package com.dj.pojo;

/**
 * 公共消息实体类
 * @author Jon
 *
 */
public class BaseMessage {
	//开发者微信号
	private String ToUserName;
	//发送方账号(OpenID)
	private String FromUserName;
	//创建时间时间戳
	private Long CreateTime;
	//消息类型
	private String MsgType;
	
	public BaseMessage() {
		super();
	}
	
	public BaseMessage(String toUserName, String fromUserName, Long createTime, String msgType) {
		super();
		ToUserName = toUserName;
		FromUserName = fromUserName;
		CreateTime = createTime;
		MsgType = msgType;
	}
	
	public String getToUserName() {
		return ToUserName;
	}
	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}
	public String getFromUserName() {
		return FromUserName;
	}
	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}
	public Long getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(Long createTime) {
		CreateTime = createTime;
	}
	public String getMsgType() {
		return MsgType;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
}
